<template>


    <el-carousel :interval="3000" type="card" height="400px" trigger="click">
        <el-carousel-item v-for="item in imagesbox" :key="item.id">
            <img :src="item.idView" class="image">
        </el-carousel-item>
    </el-carousel>

</template>

<script>
    export default {
        name: "Carouse",
        data() {
            return {
                imagesbox: [{id: 0, idView: require("../../assets/images/1.jpg")},
                    {id: 1, idView: require("../../assets/images/2.jpg")},
                    {id: 1, idView: require("../../assets/images/3.jpg")},
                    {id: 2, idView: require("../../assets/images/4.jpg")}]
            }
        }
    }
</script>

<style scoped>

</style>
